package com.ruoyi.realEstate.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地产对象 atb_real_estate
 * 
 * @author ruoyi
 * @date 2024-09-16
 */
public class AtbRealEstate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地产ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 地产名称 */
    @Excel(name = "地产名称")
    private String estateName;

    /** 租贷方式 */
    @Excel(name = "租贷方式")
    private String leaseWay;

    /** 起租期 */
    @Excel(name = "起租期")
    private String leaseCommencementDate;

    /** 地产类型 */
    @Excel(name = "地产类型")
    private String estateType;

    /** 地产类型细化 */
    @Excel(name = "地产类型细化")
    private Long realType;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long isExamine;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private Long isPutaway;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEstateName(String estateName) 
    {
        this.estateName = estateName;
    }

    public String getEstateName() 
    {
        return estateName;
    }
    public void setLeaseWay(String leaseWay) 
    {
        this.leaseWay = leaseWay;
    }

    public String getLeaseWay() 
    {
        return leaseWay;
    }
    public void setLeaseCommencementDate(String leaseCommencementDate) 
    {
        this.leaseCommencementDate = leaseCommencementDate;
    }

    public String getLeaseCommencementDate() 
    {
        return leaseCommencementDate;
    }
    public void setEstateType(String estateType) 
    {
        this.estateType = estateType;
    }

    public String getEstateType() 
    {
        return estateType;
    }
    public void setRealType(Long realType) 
    {
        this.realType = realType;
    }

    public Long getRealType() 
    {
        return realType;
    }
    public void setIsExamine(Long isExamine) 
    {
        this.isExamine = isExamine;
    }

    public Long getIsExamine() 
    {
        return isExamine;
    }
    public void setIsPutaway(Long isPutaway) 
    {
        this.isPutaway = isPutaway;
    }

    public Long getIsPutaway() 
    {
        return isPutaway;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("estateName", getEstateName())
            .append("leaseWay", getLeaseWay())
            .append("leaseCommencementDate", getLeaseCommencementDate())
            .append("estateType", getEstateType())
            .append("realType", getRealType())
            .append("isExamine", getIsExamine())
            .append("isPutaway", getIsPutaway())
            .append("createTime", getCreateTime())
            .toString();
    }
}
